holiday_name = input("节日名称：")

# emotion = bool(input("女朋友的心情："))  # 输入非空字符串转为True，空字符串转为False

emotion = input("女朋友的心情：")
if emotion == "高兴":
    result = True
elif emotion == "不高兴":
    result = False
else:
    print("无效")

if holiday_name == "情人节":
    print("买玫瑰，看电影")
elif holiday_name == "平安夜":
    print("买苹果，吃大餐")
elif holiday_name == "生日":
    if result:
        print("买蛋糕，去开房")
    else:
        print("买蛋糕，过生日")
else:
    print("每天都是节日啊")